package wzc.design_pattern.behaviour.template;

/**
 * @Author 那和不是个啥
 * @Date 2025/7/20
 * @Description
 */

public class TemplateMethodPatternDemo {
    public static void main(String[] args) {
        Beverage coffee = new Coffee();
        System.out.println("制作咖啡：");
        coffee.prepareRecipe();

        System.out.println("\n=====================\n");

        Beverage tea = new Tea();
        System.out.println("制作茶：");
        tea.prepareRecipe();
    }
}
